home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 1995 #5 & #6 / Amiga Plus CD - 1995 - No. 5 and 6.iso / pd / netz / term / extras / source / term-source.lha / SMakefile < prev    next >
Makefile  |  1995-07-09  |  4KB  |  105 lines

  1. ###############################################################################
  2. #
  3. #    SMakefile
  4. #
  5. #    Makefile for the `SMake' utility required to build `term'
  6. #
  7. #    Copyright © 1990-1995 by Olaf `Olsen' Barthel
  8. #        All Rights Reserved
  9. #
  10. ###############################################################################
  11.  
  12. .c.o:
  13.     SC $(CFLAGS) $(GST) $(OPTIONS) $(DEBUG) OBJNAME=$*.o $*.c
  14.  
  15. .c.oo:
  16.     SC $(CFLAGS) $(GST) $(OPTIONS) $(DEBUG) $(OPTIMIZE) OBJNAME=$*.oo $*.c
  17.  
  18. .asm.o:
  19.     ASM -D $*.asm
  20.  
  21. #CPU        = ANY
  22. CPU        = 68030
  23.  
  24. OPTIMIZE    = OPTIMIZE OPTTIME NOOPTINLOCAL
  25.  
  26. INCLUDEFLAGS    = DEFINE=INCLUDEALL
  27. INCLUDEFILES    = gtlayout.h termGlobal.h termData.h termProtos.h \
  28.           termErrors.h termARexxAttributes.h termARexxGlobal.h
  29.  
  30. #OPTIONS        = CPU=$(CPU) UTILLIB
  31. OPTIONS        = CPU=$(CPU)
  32. DEBUG        = DEBUG=LINE
  33.  
  34. GST        = GSTIMM GST=term.gst
  35.  
  36. CFLAGS        = MCCONS STREQ STRMERGE NOSTKCHK IDLEN=65 NOVER \
  37.           IGNORE=306 DEFINE=DATAFEED
  38. #LFLAGS        = DEFINE __CXM33=__UCXM33 DEFINE __CXD33=__UCXD33 \
  39. #          DEFINE __CXM22=__UCXM22 DEFINE __CXD22=__UCXD22 \
  40. #          ND SC SD NOICONS MAXHUNK 100000
  41.  
  42. LFLAGS        = ND SC SD NOICONS MAXHUNK 100000
  43.  
  44. LIBS        = LIB:sc.lib LIB:amiga.lib
  45.  
  46. OBJS        = termTag.o ASCIIPanel.o CapturePanel.o CaptureParser.oo \
  47.           Chat.o ClipPanel.o CommandPanel.o CopyPanel.o Colour.oo \
  48.           CursorPanel.o DatePanel.o DayPanel.o EmulationPanel.o \
  49.           FastMacroPanel.o HotkeyPanel.o ImportPanel.o LibPanel.o \
  50.           MacroPanel.o MiscPanel.o ModemPanel.o PasswordUserPanel.o \
  51.           PathPanel.o PatternPanel.o SerialIO.oo PhonePanel.o \
  52.           PrintPanel.o QuickSort.o RatePanel.o ScreenPanel.o \
  53.           SerialPanel.o SoundPanel.o SpeechPanel.o StackCall.o \
  54.           Start.o termAbout.oo termAmigaGuide.o termARexx.oo \
  55.           termARexxAttributes.oo termARexxCommands.oo termARexxData.o termASCIITransfer.oo \
  56.           termAux.o termBeep.o termBoxes.o termBuffer.oo \
  57.           termCall.o termCapture.oo termClip.oo termConfig.o \
  58.           termConsole.oo termCRC.o termCrypt.oo termData.o \
  59.           termDial.o termEmulation.oo termEmulationProcess.oo termFastMacros.o \
  60.           termFastMacroWindow.oo termFileBuffer.oo termHotkeys.o termIdentify.o \
  61.           TerminalPanel.o termInfoWindow.o termInit.o termLists.oo \
  62.           termLocale.o termMain.o termMarker.o termMemory.oo \
  63.           termMsgQueue.oo termOldConfig.o termPacket.o \
  64.           termPhone.o termPickFile.o termPickScreen.o termPrint.o \
  65.           termRaster.oo termRemember.oo termResponse.oo termReviewBuffer.oo \
  66.           termSaveWindow.o termScale.oo termScroll.oo termSendText.oo \
  67.           termSerial.oo termSound.oo termSpeech.o termStatusDisplay.o \
  68.           termStrings.o termTextBuffer.oo termTimeDate.o termTransfer.o \
  69.           termTranslate.oo termTraps.o termUploadQueue.o termXEM.oo \
  70.           termXPR.oo TimePanel.o TransferPanel.o TranslationPanel.o \
  71.           TrapPanel.o UploadPanel.o LibPanelPlus.o termVerify.o \
  72.           FixPath.o CustomRequest.o
  73.  
  74. all:        term.gst term
  75.  
  76. termTag.o:    termTag.asm term_rev.i
  77.         ASM -DCPU_$(CPU) -DCPU='$(CPU)' termTag.asm
  78.  
  79. term:        $(OBJS)
  80.         SLINK WITH T:term.WITH <<!(T:term.WITH)
  81.             FROM
  82.             $(OBJS)
  83.             TO
  84.             $@
  85.             LIB
  86.             $(LIBS)
  87.             $(LFLAGS)
  88.         <
  89.  
  90. term.gst:    PreInclude.c PreInclude.h termStrings.h OwnDevUnit.h xproto.h xem.h Rendezvous.h $(INCLUDEFILES)
  91.         GST >NIL: UNLOAD $@
  92.         SC NOOBJNAME DEFINE=CATCOMP_NUMBERS IDLEN=65 $(INCLUDEFLAGS) MAKEGST=$@ PreInclude.c
  93.         GST $@
  94.  
  95. termStrings.o:    termStrings.c termStrings.h
  96.         SC $(CFLAGS) DATA=FAR termStrings.c
  97.  
  98. Start.o:    Start.c
  99.         SC $(CFLAGS) $(OPTIMIZE) $(DEBUG) DEFINE=_M$(CPU) Start.c
  100.  
  101. termARexxCommands.oo:    termARexxCommands.c termARexxGlobal.h termARexxAttributes.h
  102. termARexx.o:        termARexx.c termARexxGlobal.h termARexxAttributes.h
  103. termARexxData.o:    termARexxData.c termARexxGlobal.h termARexxAttributes.h
  104. termARexxAttributes.oo:    termARexxAttributes.c termARexxGlobal.h termARexxAttributes.h
  105.